<script setup lang='ts'>
import { useRouter } from 'vue-router';
const router = useRouter();

</script>

<template>
  <div class="back" @click="router.push('/')">
    <!-- 返回首页 -->
    <svg-icon name="shouye" color="black" width="30" height="30" />
  </div>
</template>

<style lang='scss' scoped>
.back {
  //返回图标
  position: absolute;
  top: 50px;
  left: 200px;
  color: black;

  &:hover {
    cursor: pointer;
  }

}
</style>